package records

import (
	"github.com/golib/mysql"
)

const RecordNameCmsNodeKnowledge = "cms_node_knowledge"

func init() {
	var r = &CmsNodeKnowledge{}
	mysql.RegisterRecord(r.Name(), r)
}

type CmsNodeKnowledge struct {
	RelateId   int    `form:"relateId" column:"relate_id" primary:"true" modify:"false" json:"relateId"`
	NodeId     int    `json:"nodeId" form:"nodeId" column:"node_id" modify:"true"`
	KnowId     int    `modify:"true" json:"knowId" form:"knowId" column:"know_id"`
	CreateTime string `json:"createTime" form:"createTime" column:"create_time" modify:"false"`
	UpdateTime string `json:"updateTime" form:"updateTime" column:"update_time" modify:"false"`
}

func (r *CmsNodeKnowledge) Name() string {
	return RecordNameCmsNodeKnowledge
}
